package site.controller.Inserisci_prodotto;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.util.RequestMap;

import site.service.ProdottoService;

public class IndexController extends Controller 
{
    private ProdottoService service = new ProdottoService();

    @Override
    public Navigation run() throws Exception 
    {
        service.nuovoProdotto(new RequestMap(request));
        return forward("index.jsp");
    }
}
